using System;
using System.Xml.Linq;
using HeadCounter.Armourer.Requesters;

namespace HeadCounter.Armourer.Base
{
    public class ItemDownloadedEventArgs : EventArgs
    {
        public readonly int Id;

        public ItemDownloadedEventArgs(int id)
        {
            Id = id;
        }
    }

    public class CharacterDownloadedEventArgs : EventArgs
    {
        public readonly string Name;

        public CharacterDownloadedEventArgs(string name)
        {
            Name = name;
        }
    }

    public class ItemDataDownloadedEventArgs : EventArgs
    {
        public readonly XElement ItemXml;

        public ItemDataDownloadedEventArgs(XElement itemXml)
        {
            ItemXml = itemXml;
        }
    }

    public class CharacterDataDownloadedEventArgs : EventArgs
    {
        public readonly XElement CharacterXml;

        public CharacterDataDownloadedEventArgs(XElement characterXml)
        {
            CharacterXml = characterXml;
        }
    }
}